<?php echo form_open(base_url().'journal/admin/subjects/edit/'.$id_subject); ?>
  <fieldset>
  	 <?foreach($name_subject as $result) {?>
     <p><font color=#C40000>*</font> <?=lang('name_subject')?>:</p><input name="name" type="text" autocomplete="on" maxlength="100" value="<?if($result['name']) echo $result['name']; else echo set_value('name');?>" required> <?echo form_error('name');?>
     <p><input name="edit_subject_submit" type="submit" value="<?=lang('admin_button_update')?>"></p>
     <?}?>
  </fieldset>
</form>